You can accidentally connect to an unknown, wireless (Wi-Fi) network when you have your computer either inside your home or outside your home.
Configure your preferred wireless network
Set up a unique password on your router
Have your neighbor limit wireless connections
Make sure your router is working normally